package com.example.demo.repo;

import com.example.demo.model.SysRole;
import org.springframework.data.repository.CrudRepository;

public interface SysRoleRepository extends CrudRepository<SysRole,Long> {
    SysRole findSysRoleByName(String name);
    boolean existsSysRoleByName(String name);
}
